# Load the Rails application.
require File.expand_path('../application', __FILE__)


module RestConfig
  PRODUCT_SERVER = ENV["PHOTO_HOST"] || 'http://pic.9kuapp.cn:3001/'

  #CUSTOMER_SERVER = ENV["CUSTOMER_HOST"] || 'http://customer.jiuyunda.net:3000/'
  CUSTOMER_SERVER = ENV["CUSTOMER_HOST"] || 'http://localhost:3001/'

  OA_SERVER = 'http://www.ibuluo.me:9090/'

  ELEPHANT_HOST = ENV["ELEPHANT_HOST"] || 'http://demo.jiuyunda.net:24799/'
  # ELEPHANT_HOST = ENV["ELEPHANT_HOST"] || 'http://localhost:3000/'
  # ELEPHANT_HOST = 'http://demo.jiuyunda.net:24799/'

  WX_HOST = ENV["WX_HOST"] || 'http://www.ejiuwang.com/'

end

# Initialize the Rails application.
Rails.application.initialize!
